﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Main.Master" AutoEventWireup="true" CodeBehind="ManageLogins.aspx.cs" Inherits="HRM.Web.master.ManageLogins" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="block">
        <div class="head">
            <h2>
                All included</h2>
            <ul class="buttons">
                <li><a href="#" onclick='$("#allIncExample tbody").prepend("<tr><td></td><td></td><td></td><td></td><td><button class=\"btn btn-mini btn-primary edit\">Edit</button> <button class=\"btn btn-mini btn-danger remove\">Remove</button></td></tr>").find("tr:first button.edit").trigger("click"); return false;'>
                    <span class="i-plus-2"></span></a></li>
            </ul>
        </div>
        <div class="content np">
            <asp:Repeater ID="rptLogin" runat="server" >
                <HeaderTemplate>
                    <table cellpadding="0" cellspacing="0" width="100%" class="editable" id="allIncExample">
                        <thead>
                            <tr>
                                <th width="150">
                                    Login Name
                                </th>
                                <th>
                                    EmailID
                                </th>
                                <th>
                                    RoleName
                                </th>
                                <th>
                                    Active
                                </th>
                                <th width="95">
                                    Action
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                </HeaderTemplate>
                <ItemTemplate>
                    <tr>
                        <td>
                            <asp:Label ID="lblName" runat="server" Text='<%# Eval("LoginName")%>'></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lblEmailID" runat="server" Text='<%# Eval("EmailID")%>'></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="lblRoleName" runat="server" Text='<%# Eval("RoleName")%>'></asp:Label>
                        </td>
                        <td>
                            <asp:Label ID="Label1" runat="server" Text='<%# Eval("IsActive")%>'></asp:Label>
                        </td>
                        <td>
                            <asp:Button ID="btnEdit" runat="server" CausesValidation="false" CommandArgument='<%# Eval("ID")%>' CommandName="Edit" CssClass="btn btn-mini btn-primary edit"
                                Text="Edit" />
                            <asp:Button ID="btnRemove" runat="server" CausesValidation="false" CommandArgument='<%# Eval("ID")%>' CommandName="Delete" CssClass="btn btn-mini btn-danger remove"
                                Text="Remove" />
                        </td>
                    </tr>
                </ItemTemplate>
                <FooterTemplate>
                    </tbody> </table>
                </FooterTemplate>
            </asp:Repeater>
        </div>
    </div>
</asp:Content>
